package codepulse.blogmoon.cn.code.enums;

import lombok.Getter;

/**
 * 代码库类型
 */
@Getter
public enum SourceEnum {
    GITEE(1, CodeTypeEnum.GIT.getType(), "gitee"),
    GITEA(2, CodeTypeEnum.GIT.getType(), "gitea"),
    GITLAB(3,CodeTypeEnum.GIT.getType(),  "gitlab"),
    SVN(4,CodeTypeEnum.SVN.getType(), "svn");

    private Integer type;

    private Integer sourceType;

    private String desc;

    SourceEnum(Integer type,Integer sourceType, String desc) {
        this.type = type;
        this.desc = desc;
        this.sourceType = sourceType;
    }
}
